]> dgit.raspbian.org Git - gnome-shell.git/commit
util: Wait for initial name owners in DBusSenderCheck before checking
authorSebastian Keller <skeller@gnome.org>
Tue, 23 Nov 2021 01:48:04 +0000 (02:48 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 4 Dec 2021 16:57:25 +0000 (16:57 +0000)
commit85609a232d4088b058f23f4922b9a993dea95199
tree2125ab5d19dcbfdbd6aec22eaa60dd0f98626c7e
parent37271ffe709fc957a6c24a28050c279e01e7013a
util: Wait for initial name owners in DBusSenderCheck before checking

Otherwise an allowed caller might get rejected if the call is right
after a gnome-shell restart and the watchers have not finished running
their callbacks yet.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4813
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2048>
js/misc/introspect.js
js/misc/util.js
js/ui/screenshot.js
js/ui/shellDBus.js